package org.yn.mkt.mapper;

import org.apache.ibatis.annotations.Param;
import org.yn.mkt.domain.Clue;
import org.yn.base.mapper.IBaseMapper;
import org.yn.mkt.dto.ClueBatchDTO;
import org.yn.mkt.query.ClueQuery;
import org.yn.mkt.vo.ClueResourceVO;
import org.yn.mkt.vo.ClueVO;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yn
 * @since 2023-07-31
 */
public interface ClueMapper extends IBaseMapper<Clue> {

    void batchAssign(ClueBatchDTO clue);

    void batchInsert(@Param("list")  List<ClueVO> list);

    List<ClueResourceVO> getClueResource();

    List<Clue> queyDowmloadExcel(ClueQuery query);
}
